package com.itheima.myextends.入门练习_02;
//大儿子类
public class Son1 extends Father {

  public void coding(){
      System.out.println("学java");
  }
}
class Son2 extends Father{

    public void play(){
        System.out.println("玩游戏");
        
    }
}
